Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(connection): misleading warning message #315

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

line-o
Copy link
Member

@line-o line-o commented Oct 25, 2023

When connecting to a remote DB over an encrypted channel users might be greeted with a warning:
"Connecting to remote DB allowing invalid certificate." This is misleading in cases where rejectUnauthorized is not explicitly set.

The added tests will connect to exist-db.org over https. They only check the connection is established and rejected as unauthorized.

When connecting to a remote DB over an encrypted channel users might be
greeted with a warning:
"Connecting to remote DB allowing invalid certificate."
This is misleading in cases where `rejectUnauthorized` is not explicitly
set.

The added tests will connect to exist-db.org over https.
They only check the connection is established and rejected as
unauthorized.
@line-o line-o requested a review from a team October 25, 2023 09:30
Copy link
Contributor

@duncdrum duncdrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, sorry I missed it from my review list earlier. If the traffic to exist-db.org becomes a problem, I would recommend setting up a mock server via axios or supertest

@duncdrum duncdrum merged commit 33f8c4d into eXist-db:main Nov 15, 2023
12 of 13 checks passed
Copy link

🎉 This PR is included in version 5.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants